﻿namespace Vaccination.API.Repositories
{
    /// <summary>
    /// 疫苗接种分页输入
    /// </summary>
    public class VaccinationPageInput
    {
        /// <summary>
        /// 按用户Id过滤
        /// </summary>
        public Guid? FilterByUserId { get; set; }

        /// <summary>
        /// 按接种状态过滤
        /// </summary>
        public int? FilterByStatus { get; set; }

        /// <summary>
        /// 排序列（为空时，默认为 BookedTime ）
        /// </summary>
        public string? SortColumn { get; set; }

        /// <summary>
        /// 是否倒序（为空时，默认为升序）
        /// </summary>
        public bool? IsDesc { get; set; }

        /// <summary>
        /// 页码（从1开始）
        /// </summary>
        public int PageNumber { get; set; } = 1;

        /// <summary>
        /// 每页大小
        /// </summary>
        public int PageSize { get; set; } = 10;

        /// <summary>
        /// 是否返回总数
        /// </summary>
        public bool RequireTotal { get; set; } = true;
    }
}
